/*
 * Player entity and is abstract for Income
 * @author hoang.pt
 * @version $Id: Player.java 12 2010-08-23 09:00:40Z phantichhoang $
 */

package review.jbe.problem1;

/**
 *
 * @author hoang.pt
 */
public abstract class Player {
/**
 * propeties create instance of name
 */
 public String name;

 //public int height;
 //public int weight;

 /**
  * constructor create instance of default
  */
 public Player() {
    this.name = "hoang.pt";
 }

 /**
  * constructor create instance has the name
  * @param name
  */
 public Player(String name) {
    this.name = name;
 }

/**
 * abstract method to display name
 */
 public abstract void displayDetail();
}
